package com.koron.css2.serviceManage.bean;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.koron.common.bean.query.BaseQueryBean;

import java.io.Serializable;

/**
 * 数据库服务管理
 * 
 * @author Zhuoyanxu
 *
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class TDbServerBean extends BaseQueryBean implements Serializable {

	private static final long serialVersionUID = 1L;
	private String token;

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}
	/**
	 * 主键
	 */
	private Integer dbId;
	/**
	 * 服务器编号
	 */
	private String serviceCode;
	/**
	 * 服务器名称
	 */
	private String serverName;
	/**
	 * IP地址
	 */
	private String ipAddr;
	/**
	 * 数据库端口
	 */
	private Integer port;
	/**
	 * 数据库名称
	 */
	private String dbName;
	/**
	 * 状态
	 */
	private Integer status;
	/**
	 * 备注
	 */
	private String comments;
	/**
	 * 创建时间
	 */
	private String createTime;
	/**
	 * 创建人
	 */
	private String createName;
	/**
	 * 修改时间
	 */
	private String updateTime;
	/**
	 * 修改人
	 */
	private String updateName;

	public Integer getDbId() {
		return dbId;
	}

	public void setDbId(Integer dbId) {
		this.dbId = dbId;
	}

	public String getServiceCode() {
		return serviceCode;
	}

	public void setServiceCode(String serviceCode) {
		this.serviceCode = serviceCode;
	}

	public String getServerName() {
		return serverName;
	}

	public void setServerName(String serverName) {
		this.serverName = serverName;
	}

	public String getIpAddr() {
		return ipAddr;
	}

	public void setIpAddr(String ipAddr) {
		this.ipAddr = ipAddr;
	}

	public Integer getPort() {
		return port;
	}

	public void setPort(Integer port) {
		this.port = port;
	}

	public String getDbName() {
		return dbName;
	}

	public void setDbName(String dbName) {
		this.dbName = dbName;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getComments() {
		return comments;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getCreateName() {
		return createName;
	}

	public void setCreateName(String createName) {
		this.createName = createName;
	}

	public String getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	public String getUpdateName() {
		return updateName;
	}

	public void setUpdateName(String updateName) {
		this.updateName = updateName;
	}

}